﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NHibernate;
using NotMyself.Oxite.Model;
using Oxite.Data;

namespace NotMyself.Oxite.Data.LinqToNHibernateProvider
{
   public class OxiteLinqToNHibernateDataProvider : IOxiteDataProvider
    {
       private ISessionFactory sessionFactory;
       private AreaRepository areaRepository;

       #region IOxiteDataProvider Members

        public IAreaRepository AreaRepository
        {
            get { return new AreaRepository(new Repository<Area>(sessionFactory)); }
        }

        public IBackgroundServiceActionRepository BackgroundServiceActionRepository
        {
            get { throw new NotImplementedException(); }
        }

        public ILanguageRepository LanguageRepository
        {
            get { throw new NotImplementedException(); }
        }

        public IMembershipRepository MembershipRepository
        {
            get { throw new NotImplementedException(); }
        }

        public IMessageRepository MessageRepository
        {
            get { throw new NotImplementedException(); }
        }

        public IPostRepository PostRepository
        {
            get { throw new NotImplementedException(); }
        }

        public IResourceRepository ResourceRepository
        {
            get { throw new NotImplementedException(); }
        }

        public ITagRepository TagRepository
        {
            get { throw new NotImplementedException(); }
        }

        public ITrackbackRepository TrackbackRepository
        {
            get { throw new NotImplementedException(); }
        }

        #endregion
    }
}
